<html>

<head>
<title>Test page for CubicEx</title>


<script type="text/javascript">

var assertJavascriptVariable = "assertTrue";

function testAssertAlert(){
	window.alert("MessageAlert");
}

function testAssertConfirmation(){
	confirm('confirmation1');
	
}

function toodayDate(){
	var input=document.getElementById('dateId');
	var currentTime = new Date();
	var month = currentTime.getMonth() + 1;
	var day = currentTime.getDate();
	var year = currentTime.getFullYear();
	input.value= day + "/" + month + "/" + year;
}

</script>

</head>

<body onload="javascript:toodayDate();">
<table border="1" cellpadding="10" cellspacing="0" id="TableId">

	<tr>
		<td><input type="button" id="buttonAssertAlert"
			value="Test AssertAlert" onClick="javascript:testAssertAlert();">
		</td>
	</tr>

	<tr>
		<td><input type="button" id="buttonAssertConfirmation"
			value="Test AssertConfirmation"
			onClick="javascript:testAssertConfirmation();"></td>
	</tr>


	<tr>
		<td><input type="button" id="buttonAssertElementHeight"
			value="Test AssertElementHeight" style='height: 100;'></td>
	</tr>
	
		<tr>
		<td><input type="button" id="buttonAssertElementWidth"
			value="Test AssertElementHeight" style='width: 180;'></td>
	</tr>


	<tr>
		<td>
		<input type="text" id="element0">
		<input type="button" id="buttonAssertElementIndex"
			value="Test AssertElementIndex"></td>
	</tr>


	<tr>
		<td><input type="button" id="buttonAssertElementPositionLeft"
			value="Test AssertElementPositionLeft" style="position:absolute; left:25;">&nbsp;</td>
	</tr>



	<tr>
		<td><input type="button" id="buttonAssertElementPositionTop"
			value="Test AssertElementPositionTop" style="position:absolute; top:365;">&nbsp;</td>
	</tr>



	<tr>
		<td><input type="button" id="buttonAssertElementWidth"
			value="Test AssertElementWidth" style="width: 201;">&nbsp;</td>
	</tr>

	<tr>
		<td><a href="testpage.html" target="_blank">AttributeFromAllWindows-SecondWindow</a><p>
		<input type="text" id="AttributeFromAllWindows" attr="test"></td>
	</tr>

	<tr>
		<td>
		<select id="AssertSelectedId" MULTIPLE >
		  <option value="CubicTest" id="1" selected>CubicTest</option>
		  <option value="CubicEx" id="2">CubicEx</option>
		  <option value="CubicExTest" id="3">CubicExTest</option>
		  <option value="SeleniumRC" id="4">SeleniumRC</option>
		</select>
		<select id="AssertNotSomethingSelectedId" MULTIPLE DISABLED>
		  <option value="CubicTest" id="1">CubicTest</option>
		  <option value="CubicEx" id="2">CubicEx</option>
		  <option value="CubicExTest" id="3">CubicExTest</option>
		  <option value="SeleniumRC" id="4">SeleniumRC</option>
		</select>
		</td>
	</tr>
	
	<tr>
		<td>AssertTable</td>
	</tr>
	
	<tr>
		<td><input type="text" id="dateId"></td>
	</tr>
	
	
</table>


</body>

</html>